package cn.kgc.nnniiiooo.service.impl;

import cn.kgc.nnniiiooo.mapper.UserInfoMapper;
import cn.kgc.nnniiiooo.pojo.UserInfo;
import cn.kgc.nnniiiooo.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Resource
    private UserInfoMapper userInfoMapper;
    @Override
    public UserInfo findByUsername(String username) {
        return userInfoMapper.findByUsername(username);
    }
}
